#!/usr/bin/python
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

"""BIONIC DIRS

A list of directories used by the Bionic Build.
"""

import os

DIRS_SCRIPT = os.path.abspath(__file__)
TOOLS_DIR = os.path.dirname(DIRS_SCRIPT)
TOP_DIR = os.path.dirname(TOOLS_DIR)

NACL_REPO_DIR = os.path.join(TOP_DIR, 'nacl_repo')
NATIVE_CLIENT_DIR = os.path.join(NACL_REPO_DIR, 'native_client')
NACL_PORTS_DIR = os.path.join(TOP_DIR, 'nacl_ports_repo')
TOOLCHAIN_BUILD_DIR = os.path.join(NATIVE_CLIENT_DIR, 'toolchain_build')
TOOLCHAIN_DIR = os.path.join(NATIVE_CLIENT_DIR, 'toolchain')
OUTPUT_ROOT =  os.path.join(TOP_DIR, 'out')
BIONIC_SRC = os.path.join(TOP_DIR, 'v2')